package com.igeekhome.ccs.mapper;


import com.igeekhome.ccs.entity.Customer;
import com.igeekhome.ccs.entity.Hater;
import com.igeekhome.ccs.entity.Session;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface CustomerMapper {
    List<Customer> select(Customer cs);
    int save(Customer cs);
    List<Customer> queryByTime(Date start, Date end);
    int deletecustomer(int customerId);
    List<Session> selectsession(int customerId);
    List<Hater> selecthater(int customerId);
    int upadatecustomer(Customer cs);
}
